#pragma once

#include <QWidget>
#include "ui_SocketSettingPage.h"
#include"DataCenter.h"
#include"SignalCenter.h"
#include <QMessageBox>
#include <QDebug>
#include <QTimer>


class SocketSettingPage : public QWidget
{
	Q_OBJECT

public:
	SocketSettingPage(QWidget *parent = Q_NULLPTR);
	~SocketSettingPage();

private:
	void getIpAddressAndPortNumber(QString &ipAddress, int &portNumber);

	private slots:
	void on_pushButton_Link_clicked();
	void on_pushButton_Save_clicked();
	void on_pushButton_Cancel_clicked();
	void getconnIDState();

	

private:
	QTimer timer;
	Ui::SocketSettingPage ui;
};
